package com.woniuxy.background.service;

import com.github.pagehelper.PageInfo;
import com.woniuxy.background.pojo.Goods;
import com.woniuxy.background.vo.GoodVO;
import org.apache.ibatis.annotations.Param;

public interface GoodsService {
    int deleteByPrimaryKey(Integer goodsId);

    int insert(Goods record);

    int insertSelective(Goods record);

    Goods selectByPrimaryKey(Integer goodsId);

    int updateByPrimaryKeySelective(Goods record);

    int updateByPrimaryKey(Goods record);

    PageInfo queryGoodsByPage(@Param("currentPage") Integer currentPage, @Param("pageSize") Integer pageSize, @Param("vo") GoodVO vo);
}
